﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.Materials.Dto
{
    /// <summary>
    /// 物料建模Dto
    /// </summary>
   public class MaterialsNodeEditDto: EntityDto<Guid>
    {
        /// <summary>
        /// 是否是子节点
        /// </summary>
        public bool HasChild { get; set; } = false;
        public Guid MaterialsDescId { get; set; }
        /// <summary>
        /// 物料类型名称
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 物料类型名称
        /// </summary>
        public string MaterialTypeCode { get; set; }
        /// <summary>
        /// <summary>
        /// 父级编码
        /// </summary>
        public Guid ParentCode { get; set; }
        /// <summary>
        /// 节点层级
        /// </summary>
        public int LevelNum { get; set; }
    }
}
